//
//  simWeekViewController.m
//  simens
//
//  Created by 稳 张 on 12-7-29.
//  Copyright (c) 2012年 yst. All rights reserved.
//


#import "simWeekViewController.h"
#import "MAWeekView.h"


@interface simWeekViewController ()

@end

@implementation simWeekViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
    
    
    MAWeekView* tempWeekView = [[MAWeekView alloc] init];
    [tempWeekView setFrame:self.view.bounds];
    
    [self.view addSubview:tempWeekView];
    
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
